package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 用户账户(钱相关)
 * @author Rongjie
 */
@Data
@TableName("mall_user_account")
@KeySequence(value = "mall_user_account_SEQ")
@ApiModel(value = "MallUserAccount对象")
public class MallUserAccount implements Serializable{

       @ApiModelProperty(value = "应用key")
       private String appKey;

       @TableId(value = "user_key", type = IdType.UUID)
       @ApiModelProperty(value = "用户key")
       private String userKey;

       @ApiModelProperty(value = "佣金/手续费")
       private BigDecimal totalBrokerage;

       private Integer createTime;

       private Integer updateTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
